<?php

namespace app\models;

use Yii;
use yii\base\Model;

class SendEmailForm extends Model
{

    public $email;

    /**
     * {@inheritdoc}
     */
    public function rules()
    {
        return [
            ['email', 'required'],
            ['email', 'email'],
            [['email'], 'string', 'max' => 50]
        ];
    }


}
